package guowenlong.golf.ui.friend.myfriends;

import java.io.Serializable;

/**
 * des   : 描述
 * author: Administrator
 * email : guowenlong20000@gmail.com
 * time  : 2017年03月27日 上午 1:37.
 */

public class ContactsInfo implements Serializable{

  private String name;
  private String number;
  private String sortKey;
  private int id;
  private int type;
  private boolean selected;

  public boolean isSelected() {
    return selected;
  }

  public void setSelected(boolean selected) {
    this.selected = selected;
  }


  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public ContactsInfo(String name, String number, String sortKey, int id, int type) {
    setName(name);
    setNumber(number);
    setSortKey(sortKey);
    setId(id);
    setType(type);

  }

  public ContactsInfo(String name, int type) {
    setName(name);
    setType(type);
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }

  public String getSortKey() {
    return sortKey;
  }

  public void setSortKey(String sortKey) {
    this.sortKey = sortKey;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  @Override
  public String toString() {
    return "ContactsInfo{" +
        "name='" + name + '\'' +
        ", number='" + number + '\'' +
        ", sortKey='" + sortKey + '\'' +
        ", id=" + id +
        ", type=" + type +
        ", selected=" + selected +
        '}';
  }
}
